<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%--
代码为自动生成 Created by www.magicalcoder.com
 如果你改变了此类 read 请将此行删除
 欢迎加入官方QQ群:323237052
--%>
<tr>
    <td>
            <div class="form-group">
                                         <div class="col-sm-3 input-select">
                                            <input type="hidden" name="classId" value="${student.classId}" foreignTableName="classes" foreignJavaField="id" selectValue="">
                                            <input type="text" class="form-control" name="classIdSearch"
            placeholder="搜索一下">
                                        </div>
                                        <label class="col-sm-2 control-label" >
                                                <c:if test="${ student.classId!=null}">
                                                    <a target="_blank" onclick="openUrl(this,'admin/classes/detail_param?id=${student.classId}')"> 查看详情</a>
                                                </c:if>
                                            <span class="validateMsg"></span>
                                        </label>
            </div>
    </td>
    <td>
            <div class="form-group">
                                         <div class="col-sm-9">
                                             <select class="form-control"  name="sex" title="性别"  >
                                                         <option
                                                 <c:if test="${ student.sex == 0 }">selected</c:if>
                                                 value="0" >类型一</option>
                                                         <option
                                                 <c:if test="${ student.sex == 1 }">selected</c:if>
                                                 value="1" >类型二</option>
                                             </select>
                                        </div>
                                        <label class="col-sm-2 control-label" >
                                            <span class="validateMsg"></span>
                                        </label>
            </div>
    </td>
    <td>
            <div class="form-group">
                                        <div class="col-sm-9">
                                            <input type="text" class="form-control " 
                                                   name="name" title="学生名称"  placeholder="请输入学生名称"
                                                             value="${student.name}">
                                        </div>
                                        <label class="col-sm-2 control-label" >
                                            <span class="validateMsg"></span>
                                        </label>
            </div>
    </td>
    <td>
            <input type="checkbox"><input type="hidden" name="id" value="${student.id}"></td>
    </td>
    <td>
            <div class="form-group">
                                        <div class="col-sm-9">
                                            <input  type="text" name="createTime" class="Wdate form-control"                                                onfocus="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd HH:mm:ss',maxDate:'%y-%M-%d %H:%m:%s'})"
                                               value="<fmt:formatDate value="${ student.createTime }"
                                               pattern="yyyy-MM-dd HH:mm:ss"/>" style="width: 170px;">
                                        </div>
                                        <label class="col-sm-2 control-label" >
                                            <span class="validateMsg"></span>
                                        </label>
            </div>
    </td>
    <td>
            <div class="form-group">
                                        <div class="col-sm-9">
                                            <input  type="text" name="updateTime" class="Wdate form-control"                                                onfocus="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd HH:mm:ss',maxDate:'%y-%M-%d %H:%m:%s'})"
                                               value="<fmt:formatDate value="${ student.updateTime }"
                                               pattern="yyyy-MM-dd HH:mm:ss"/>" style="width: 170px;">
                                        </div>
                                        <label class="col-sm-2 control-label" >
                                            <span class="validateMsg"></span>
                                        </label>
            </div>
    </td>
    <td><button onclick="copyTr(this)">复制</button><button onclick="deleteTr(this,'student')">删除</button></td>
</tr>